//
//  UIAlertController+SCAlertController.m
//  Mutal
//
//  Created by TonyStart on 16/10/24.
//  Copyright © 2016年 com.wx. All rights reserved.
//

#import "UIAlertController+SCAlertController.h"

@implementation UIAlertController (SCAlertController)
+(instancetype)scAlertWithTitle:(NSString*)title msg:(NSString*)msg{
    UIAlertController *alertCon = [UIAlertController alertControllerWithTitle:title message:msg preferredStyle:UIAlertControllerStyleAlert];
    UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
        
    }];
    [alertCon addAction:cancelAction];
    return alertCon;
}
@end
